home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 1
/
Merciful - Disc 1.iso
/
software
/
m
/
math_vision
/
mathvisionv2.1b.dms
/
mathvisionv2.1b.adf
/
DataTemplates
/
2d_Array
< prev
next >
Wrap
Text File
|
1992-02-14
|
1KB
|
39 lines
! 2d_Array two dimensional array with counts at top
! scaling is entered in this template in FirstLow .. SecondHigh
!
!-------------------------------- Prototype of data file --------------------
! rows columns
! data data data data data
! data data data data data
!-------------------------------- Example of data file -----------------------
! 2 3 ! 2 x 3 elements
! 4.3 3.4 5.6 ! actual data
! 1.2 6.7 4.2
!--------------------------------
Define Rows Integer
Define Columns Integer
Define FirstLow Real
Define FirstHigh Real
Define SecondLow Real
Define SecondHigh Real
! ----------------------------- Put scaling values here --------------------
Assign FirstLow 0.0
Assign FirstHigh 1.0
Assign SecondLow 0.0
Assign SecondHigh 1.0
!---------------------------------------------------------------------------
Read Rows Columns
BeginStructure
DefArray Rows FirstLow FirstHigh
DefArray Columns SecondLow SecondHigh
DefDataType IEEE8
EndArray
EndArray
EndStructure
RecurseRead